package org.dromara.hotel.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 酒店日历价格对象 ter_price_calendar
 *
 * @author xch
 * @date 2025-06-10
 */
@Data
@TableName("ter_price_calendar")
public class TerPriceCalendar {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 关联房型ID
     */
    private Long roomId;

    /**
     * 价格日期
     */
    private LocalDate priceDay;

    /**
     * 展示价格
     */
    private Integer finalPrice;

    /**
     * 价格来源
     */
    private Integer source;
    @Version
    private Integer version;
    private Integer availableQuantity;
}
